<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
	<head>
		<title>ϵͳ</title>
		<%@ include file="/commons/meta.jsp"%>

	</head>

	<body>
		<table width="100%" height="100%" border="0" cellpadding="0"
			cellspacing="0">
			<tr>
				<td align="center" valign="top">
					<div id="position">
						当前位置：系统管理 - 后台账号查询管理
					</div>
					<form name="form1" method="post" action="">
						<table width="95%" border="0" cellspacing="2" cellpadding="2">
							<tr>
								<td>
									查询信息：
									<input name="condition" type="text" value="${condition}">
									<input type="button" name="Submit22" value="查 询"
										onClick="javascript:query(1)">
									<input type="button" name="Submit22" value="添加字段分类"
										onClick="javascript:add()">
								</td>
							</tr>
						</table>
						<table width="95%" cellpadding="2" cellspacing="1"
							bgcolor="#CEEFFF">
							<tr>
								<td class="listtitle">
									名称&nbsp;
								</td>
								<td class="listtitle">
									备注&nbsp;
								</td>
								 
								<td class="listtitle" width="15%">
									&nbsp;
								</td>
							</tr>
							<s:if test="page.totalPageCount >0">
								<s:iterator value="page.list">
									<tr>
										<td bgcolor="#FFFFFF">
											${name}&nbsp;
										</td>
										<td bgcolor="#FFFFFF">
											${memo}&nbsp;
										</td>
										 
										<td bgcolor="#FFFFFF" width="15%">
											<a href="${ctx}/workorder/field!view.action?id=${id}" >预 览</a>&nbsp;
											<a href="${ctx}/workorder/field!input.action?id=${id}"" >修 改</a>&nbsp;
											<a href="${ctx}/workorder/field!delete.action?id=${id}" >删 除</a>&nbsp;
											<a href="${ctx}/workorder/fieldAttribute.action?fieldId=${id}" >字段管理</a>
										</td>
									</tr>
								</s:iterator>
							</s:if>
						</table>
						<table width="95%" border="0" cellspacing="2" cellpadding="2">
							<tr>
								<td width="30%" align="center">
									共${page.totalPageCount}页
								</td>
								<td align="center">
									<s:if test="page.hasPrePage">
										<a
											href="${ctx}/workorder/field.action?page.pageNo=${page.prePage}">上一页</a>
									</s:if>
									<s:if test="page.hasNextPage">
										<a
											href="${ctx}/workorder/field.action?page.pageNo=${page.nextPage}">下一页</a>
									</s:if>
								</td>
							</tr>
						</table>
					</form>
				</td>
			</tr>
		</table>
	</body>
</html>
<script language="javascript" type="text/javascript">
 	 		//分页查询浏览
            function query(pageIndex)
            {
               	${'form1'}.action = "${ctx}/workorder/field.action";
               	${'form1'}.submit();
            }  
            function add()
            {
            	${'form1'}.action = "${ctx}/workorder/field!input.action";
               	${'form1'}.submit();
            }
</script>
